{*include file="head.htm"*}{** <!-- Here is head --> **}

<!-- 中部包围框 -->
<div id="main_con">
<div id="con_index"><!-- 这里是中间主要内容 -->
	<!-- 左边的内容 -->
	<div class="nav">
{*include file="nav.htm"*}{** <!-- This is navigation --> **}
{*include file="top10.htm"*}{** <!-- This is The Class Top 10 --> **}
	</div>
	<!-- 左侧导航与TOP10内容结束 -->

	<!-- 首页中间主要内容 -->
	<div class="msg_index">
		<div><a href="{*$aOut.baseurl*}" class="bk">{*$aOut.class.c_name*}</a> &gt;&gt; {*$aOut.mod_name*}</div>
		<div class="b_title b_green">班级通知</div>
		<div class="s_con">{*$aOut.class.brief*}</div>
		<div class="ad_list">管理员: 
		{*foreach name=adm item=adm from=$aOut.admin*}{** <!-- BEGIN admin list --> **}
		<a href="#" onmouseover="showTipMenu(this,'{*$adm.id*}');" class="r">{*$adm.name*}</a> 
		{*/foreach*}{** <!-- END admin list --> **}
		</div>

		<div class="b_title b_green">待批准同学</div>
		<div class="s_con">	
		{*foreach name=wl item=wl from=$aOut.waitlist*}
		<a href="index.php?m=member&a=view&id={*$wl.id|urlencode*}" >{*$wl.id*} ( {*$wl.name*} )</a> <a href="./index.php?m=admin" class="r">[我要批准]</a>
		{*foreachelse*}最近没有新同学加入,还不快去把老同学都拉来
		{*/foreach*}
		</div>
		<a name="leavemsg" />
    	<div class="com_textarea">
    		<div class="btn_text"><a name="edit"></a>
    		<img src="{*$aOut.imgurl*}word_pen.gif" style="width: 16px; height:16px;"/>　发表留言：(留言不要超过2000个字)</div>
    		<form method="post" action="" id="msg_con" >
    		<textarea id="elm1" name="elm1" rows="5" cols="72">{*$aOut.aWord.content*}</textarea>
    		<div class="btn_text">
    		<span style="display:{*if $aOut.aWord*}block{*else*}none{*/if*}">
    			<a id="idedit" href="#" onclick="m_submit('msg_con', 'index.php?m=word&a=edit&mid={*$aOut.aWord.id*}&page={*$aOut.page*}')">
    				<img src="{*$aOut.imgurl*}btn_26.gif" title="修改留言" />
    			</a>
    		</span>
    		<span style="display:{*if $aOut.aWord*}none{*else*}block{*/if*}">
    			<a id="idadd" href="#" onclick="m_submit('msg_con', 'index.php?m=word&a=add')">
    				<img src="{*$aOut.imgurl*}btn_08.gif" title="发表新留言" />
    			</a>
    		</span>
    		</form>
    		</div>
    	</div>
		<div class="b_title b_green">
			<span class="f_left">班级留言</span>
		</div>

		{** <!-- 班级留言详细信息 --> **}
		{*foreach name=msg item=msg from=$aOut.msgs*}
		<div class="s_title">
			<span class="s_green">{*$msg.time*}</span>　
				<a href="index.php?m=member&a=view&id={*$msg.author|urlencode*}" onmouseover="showTipMenu(this,'{*$msg.author*}');" class="bk">{*$msg.name*}</a> 
        		{*if $aU.id == $msg.author *}{** 如果此信息由该用户提交，则可修改 **}
        		<a href="index.php?m=word&mid={*$msg.id*}&page={*$aOut.page*}#edit" ><img src="{*$aOut.imgurl*}word_edit.gif" title="修改该条留言"></a>
        		{*/if*}
        		{*if ( $aU.power > 1 ) || ( $aU.id == $msg.author ) *}{** 管理员和发言者可以删除 **}
        		<a href="index.php?m=word&a=del&mid={*$msg.id*}&page={*$aOut.page*}"><img src="{*$aOut.imgurl*}word_del.gif" title="删除该条留言"></a>
        		{*/if*}
		</div>
		<div class="msg_con">{*$msg.content*}</div>
		{*/foreach*}{** <!-- 详细信息结束 --> **}
		
		<div class="b_title b_green">
			<span class="f_left">班级留言</span>
			<span class="img_align f_right">
				<a href="#leavemsg" >
				<img src="{*$aOut.imgurl*}btn_00.gif" /></a>
				<a href="././index.php?m=word&a=index" >
				<img src="{*$aOut.imgurl*}btn_04.gif" /></a></span>
		</div>

	</div>

	<!-- 中部所有内容结束 -->
</div><!-- 中部包围框结束 -->

<!-- 这里是右边附加信息 -->
<div id="index_right">
	<!-- 在IE中，如果div中不加内容，则IE会用默认高度来要求这个块，所以加个空格，FF正常 --><!-- <img src="./pix/865064_s.jpg" /> -->
	<div class="little_img">&nbsp;</div>
	<div class="b_blue">最新照片</div>
	<div class="s_blue t_center">
	{*if $aOut.pic*}
	<div class="pic_link" onmouseover="this.style.backgroundColor='#B7F0FF';" onmouseout="this.style.backgroundColor='';">
	<div class="cente"><p><a href="./index.php?m=pic&a=view&pid={*$aOut.pic.id*}" target="_blank"><img src="{*$aOut.picurl*}{*$aOut.pic.filename*}_s.jpg" align="absmiddle"
title="上传者: {*$aOut.pic.ownername*}
文件名: {*$aOut.pic.oldname*}
大　小: {*$aOut.pic.size/1024|string_format:"%d"*} KB
时　间: {*$aOut.pic.time*}
分辨率: {*$aOut.pic.width*}×{*$aOut.pic.height*}
简　介: {*$aOut.pic.brief|truncate:18:'..'*}
人　气: {*$aOut.pic.info_score*}
点击查看原图" /></a></p></div></div>
	{*else*}暂无照片
	{*/if*}
	</div>
	<div class="b_blue">最新照片评论</div>
	<div class="s_blue t_left">
	{** <!-- 最新照片评论 --> **}
	{*foreach name=pr item=pr from=$aOut.pr*}
	<a href="./index.php?m=pic&a=view&pid={*$pr.id*}" title= "{*$pr.brief*}
作者: {*$pr.author*}
评论时间:{*$pr.time*}" class="r" target="_blank">{*$pr.content|strip_tags|csubstr:38:'..'*}</a><br />
	{*foreachelse*}暂无照片评论．
	{*/foreach*}
	{** <!-- 最新照片评论结束 --> **}
	</div>
	<div class="b_blue">最新共享</div>
	<div class="s_blue t_left">
	{*if $aOut.share *}
		<img src="{*$aOut.baseurl*}view/filetype/icon_{*$aOut.share.icon*}.gif" />
		<a href="index.php?m=share&a=down&id={*$aOut.share.id*}" class="bl" title="{*$aOut.share.oldname*}">{*$aOut.share.brief*}</a><br />文件大小: {*$aOut.share.ksize|string_format:"%d"*} KB<br />
		<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '{*$aOut.share.owner*}')" onmouseout="hidePopupMenu(this, popMenu)" class="r">{*$aOut.share.ownername*}</a> 上传于:<br />{*$aOut.share.time*}</div>
	{*else*}
		没有共享文件
	{*/if*}
	<div class="b_blue">当前在线</div>
	<div class="s_blue t_center">
		{** <!--  BEGIN online  --> **}
		{*foreach name=ol item=ol from=$aOut.ol*}
		<a href="index.php?m=member&a=view&id={*$ol.id|urlencode*}" onmouseover="showTipMenu(this,'{*$ol.id*}');" class="r">{*$ol.name*}</a>&nbsp;
		{*/foreach*}
		{** <!--  END online  --> **}
	</div>
	<div class="b_blue">友情链接</div>
	<div class="s_blue t_center">
		{** <!--  友情连接  --> **}
		{*foreach name=lk item=lk from=$aOut.lks*}
		<a href="{*$lk.url*}" target=_blank class="r">{*$lk.name*}</a><br />
		{*/foreach*}{** <!--  友情连接结束  --> **}
	</div>
	<div class="b_blue">班级信息</div>
	<div class="class_info">
		<span class="s_green">班　　级:</span> {*$aOut.class.c_name*}<br />
		<span class="s_green">入学年份:</span> {*$aOut.class.c_year*}<br />
		<span class="s_green">成 员 数:</span> {*$aOut.member_num*}<br />
		<span class="s_green">创建时间:</span> {*$aOut.class.create_time*}<br />
		<span class="s_green">创 始 人:</span> <a href="index.php?m=member&a=view&id={*$aOut.class.creator*}" onmouseover="showTipMenu(this,'{*$aOut.class.creator*}');" class="r">{*$aOut.class.creator_name*}</a>
	</div>
</div><!-- 附加信息结束 -->

</div><!-- 中间的附加层自适应层 -->

{*include file="foot.htm"*}